[CALCITE-2194] Adding access configuration feature#647
Closed
ptrbojko wants to merge 1 commit intoapache:mainfrom
ptrbojko:CALCITE-2194
Closed
[CALCITE-2194] Adding access configuration feature#647ptrbojko wants to merge 1 commit intoapache:mainfrom ptrbojko:CALCITE-2194
ptrbojko wants to merge 1 commit intoapache:mainfrom
ptrbojko:CALCITE-2194
Conversation
Author
|
Travis triggers tests on calcite plus little different then on my machine - this is a cause of a fail check. Will investigate. |
Author
|
JDK8 build passed ok. |
End user can define access level in json schema - see example in calcite-plus/chinook.json. Each schema could be decorated with AuthorisationGuardFactory for guarding access to tables from schema. Principal based factory is provided - with this factory user can map each user to set of SqlAccessEnum values. User is determined from created Connection (property user). To SqlAccessEnum new INDIRECT_SELECT is added to allow creation of schemas which can be accessed indirectly from views from other schemas.
80f411d to
ca27fe9
Compare
49cb002 to
8768a23
Compare
8a5cf83 to
cf7f71b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[CALCITE-2194] Adding access configuration feature
End user can define access level in json schema - see example in calcite-plus/chinook.json.
Each schema could be decorated with AuthorisationGuardFactory for guarding access to tables from schema.
Principal based factory is provided - with this factory user can map each user to set of SqlAccessEnum values. User
is determined from created Connection (property user).
To SqlAccessEnum new INDIRECT_SELECT is added to allow creation of schemas which can be accessed indirectly from views
from other schemas.
[CALCITE-2208] Workaround on the bug with TableView expansion and validation
Now case sensivity for MaterializedViewTable.MATERIALIZATION_CONNECTION is disabled